home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 2 / BBS in a box - Trilogy II.iso / Files / Hyper / T / TIFFWindow1.1 / tifft4tables.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-03-28  |  888 b   |  29 lines  |  [TEXT/KAHL]

  1. /*
  2.  * This software is copyright 1992 by Robert Morris.
  3.  * You may freely redistribute this software as shareware
  4.  * if you do so in the same form as you got it. If you find
  5.  * this software useful, please send $12 to:
  6.  *   Robert Morris
  7.  *   P.O. Box 1044
  8.  *   Harvard Square Station
  9.  *   Cambridge, MA 02238
  10.  *   ecognome@aol.com
  11.  * If you incorporate any of this software in any kind of
  12.  * commercial product, please send $2 per copy distributed
  13.  * to the above address.
  14.  */
  15.  
  16. /*
  17.  * Binary trees to help parse T.4 (group 3) code words.
  18.  */
  19. struct t4table{
  20.     unsigned long terminating : 1,    /* end of a terminating code word? */
  21.                   makeup : 1,    /* end of a makeup code? */
  22.                   on0 : 13,        /* or length if terminal == 1 */
  23.                   on1 : 13;
  24. };
  25. extern struct t4table *t4table[2]; /* white is 0 and black is 1 */
  26. extern long t4tablelen[2];
  27.  
  28. OSErr InitT4Tables(void);
  29. void FreeT4Tables(void);